package cn.lili.modules.system.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.message.entity.dos.MemberMessage;
import cn.lili.modules.system.client.MemberMessageClient;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: ftyy
 * @date: 2022-01-17 11:29
 * @description: 会员消息发送Fallback
 */
public class MemberMessageFallback implements MemberMessageClient {
    @Override
    public Boolean editStatus(String status, String messageId) {
        throw new ServiceException();
    }

    @Override
    public Boolean deleteMessage(String messageId) {
        throw new ServiceException();
    }

    @Override
    public boolean save(List<MemberMessage> messages) {
        throw new ServiceException();
    }
}
